home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.11.gz / 1994.11 / 000096_wolfgang@itap.…ni-stuttgart.de_Tue Nov 15 15:36:37 1994.msg < prev    next >
Internet Message Format  |  1994-11-30  |  3KB

  1. Received: from dfunms.rus.uni-stuttgart.de by cs.umb.edu with SMTP id AA16965
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Tue, 15 Nov 1994 08:37:13 -0500
  3. Received: from wilma (wilma.itap.physik.uni-stuttgart.de) by dfunms.rus.uni-stuttgart.de with SMTP id AA22316
  4.   (5.65c8/DFUE-M1.0 for <tex-k@cs.umb.edu>); Tue, 15 Nov 1994 14:36:41 +0100
  5. Received: from localhost (wolfgang@localhost) by wilma (8.6.4/8.6.4) id OAA29523; Tue, 15 Nov 1994 14:36:37 +0100
  6. Date: Tue, 15 Nov 1994 14:36:37 +0100
  7. From: Wolfgang Sock <wolfgang@itap.physik.uni-stuttgart.de>
  8. Message-Id: <199411151336.OAA29523@wilma>
  9. To: tex-k@cs.umb.edu
  10. Subject: kpathsea-2.4 on DEC-alpha/osf2 compilation error
  11.  
  12. Dear tex-maintainers,
  13.  
  14. I tried to compile following programs in your new distribution on
  15. a 'dec/alpha 3000-400 with alpha_osf20':
  16.  
  17. Filesystem-Organisation:  kpathsea-2.4, released 25th oct 1994
  18.  
  19. Programs:                 web2c/tex, dvipsk-5.58c, xdvik-18d, dviljk-2.3 
  20.                           all released in Oct94
  21.  
  22. While compiling I got problems because of a double definition of the function
  23. 'basename'. 
  24.  
  25. This function is definied in the library of the
  26.  
  27.   gcc-2.5.8-compiler in the file '.../string.h'
  28.   and either in the library of the
  29.  
  30.   dec/osf1-compiler in the file '/usr/include/string.h'
  31.    
  32.   as 'extern char *basename();'.
  33.  
  34. I got following error-message:
  35.  
  36. ...
  37. cc  -I. -I./../kpathsea   -I.. -I./../kpathsea/..     -DDEFAULT_FONT_SIZES='"300:600"'  -g  -c ./../kpathsea/tex-file.c
  38. /usr/lib/cmplrs/cc/cfe: Error: ../kpathsea/lib.h, line 98: redeclaration of 'basename'; previous declaration at line 201 in file '/usr/include/string.h'
  39.  extern const_string basename ();
  40.  --------------------^
  41. /usr/lib/cmplrs/cc/cfe: Error: ../kpathsea/lib.h, line 98: Incompatible function return type for this function
  42.  extern const_string basename ();
  43.  -----------------------------^
  44. *** Exit 1
  45. Stop.
  46. *** Exit 1
  47. Stop.
  48.    
  49. The new kpathsea-organisation looks quite comfortable, especially for our plans
  50. to install tex on the campus-wide unix-cluster of the University of Stuttgart.
  51. This installation shall be done on different architectures 
  52. (dec ultrix/osf, ibm aix, sun, sgi, hp ..) with one central arch-independent
  53. library (latex, fonts etc.). For this purpose the new kpathsea-system
  54. seems to be perfect with its easy way of defining the paths in one
  55. sole paths.make file.
  56.  
  57. Do you have any idea how I could manage this problem, other than changing the
  58. name of the function in the whole kpathsea-system? Thanks for that.
  59.  
  60. Wolfgang Sock
  61. ITAP, Institut fuer Theoretische und 
  62.       Angewandte Physik, Stuttgart
  63. e-mail: wolfgang@itap.physik.uni-stuttgart.de
  64.  
  65.  
  66.  
  67.